package com.work.mvc.view.panels;

import com.vaadin.ui.VerticalLayout;

public class MainPanel extends VerticalLayout{

	private static final long serialVersionUID = -5030463548856931532L;

	private HeaderPanel headerPanel = new HeaderPanel();
	private CenterPanel centerPanel = new CenterPanel();
	
	public MainPanel() {
		init();
	}

	private void init() {
		this.setSizeFull();
		this.addComponent(headerPanel);
		this.addComponent(centerPanel);
		this.setExpandRatio(centerPanel, 1.0f);
	}
}
